package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.vo.CountByTime;

import java.util.List;

public interface ReservationService extends IService<Reservation> {
    Integer getCancelledReservationCount();

    List<CountByTime> getCountByTime(long time);

    int add(Reservation reservation);

    List<Reservation> findAll(Integer status);

    boolean cancel(Long id);
}
